using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UnityRotateAround : MonoBehaviour
{
    public Vector3 axis;
    public float angle;
    public Space rotateSpace;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        //if(Input.GetKeyUp(KeyCode.Space))
        {
            Debug.Log($"UNITY Before {transform.eulerAngles}");
            transform.Rotate(axis, angle, rotateSpace);
            Debug.Log($"UNITY After {transform.eulerAngles}");
        }

    }
}
